package com.cyx.exercise.ollama;

/**
 * Ollama生成响应对象
 */
public class OllamaResponse {
    private String response;
    private boolean done;
    
    public OllamaResponse() {}
    
    public OllamaResponse(String response, boolean done) {
        this.response = response;
        this.done = done;
    }
    
    public String getResponse() {
        return response;
    }
    
    public void setResponse(String response) {
        this.response = response;
    }
    
    public boolean isDone() {
        return done;
    }
    
    public void setDone(boolean done) {
        this.done = done;
    }
    
    @Override
    public String toString() {
        return "OllamaResponse{" +
                "response='" + response + '\'' +
                ", done=" + done +
                '}';
    }
}
